<template>
    <!-- v-model 双项绑定 -->
    <el-button @click="changeDialog">dialog</el-button>
    <dialogCom class="w-[200px] h-[200px] bg-" v-model="visbale" />
  </template>
  
  <script setup lang="ts">
  import { ref } from "vue";
  const visbale = ref(false);
  const changeDialog = () => {
    visbale.value = true;
  };
  </script>
  
  <style lang="scss" scoped></style>
  